﻿using System.Web.UI.WebControls;
using System.ComponentModel;

namespace FastData
{
    public enum FilterType
    {
        Equal, Contains, EndsWith, StartsWith, Greater, GreaterOrEqual, Less, LessOrEqual, IsNull, NotIsNull, NotEqual, In
    }

    public class FilterField
    {
        public string DataField;
        public FilterType FilterType;
        public object Value;

        public FilterField(string dataField, FilterType filterType, object value)
        {
            DataField = dataField;
            FilterType = filterType;
            Value = value;
        }

    }
}
